<template>
	<view class="">
		<web-view :src="href"></web-view>
	</view>
</template>

<script>
	export default {
		data () {
			return {
				href:''
			}
		},
		onLoad(opt) {
			console.log(opt)
			this.href=opt.url
			uni.setNavigationBarTitle({
				title:opt.name
			})
		}
	}
</script>

<style>
</style>
